
Component({
    properties: {
        title: {
            type: String,
            value: ''
        },
        change: {
            type: Boolean,
            value: false
        }
    },
    lifetimes: {
        attached: function () {
            const systemInfo = wx.getSystemInfoSync();
            this.setData({ statusHeight: systemInfo.statusBarHeight });
        }
    },
    data: {
        statusHeight: 0,
        show: false
    },
    methods: {
        handleShowList: function () {
            this.setData({ show: true });
        },
        handleCloseSelf: function () {
            this.setData({ show: false });
        }
    }
})
